﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PSIS.Common.Entity
{
    public class PSIResult
    {
        /// <summary>
        /// 返回的结果
        /// </summary>
        public object Result { get; set; }

        /// <summary>
        /// 是否执行成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 异常码
        /// </summary>
        public string ErrorCodeKey { get; set; }

        /// <summary>
        /// 资源文件码
        /// </summary>
        public string CodeKey { get; set; }
        /// <summary>
        /// 结果描述
        /// </summary>
        public string DetailedInfo { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public PSIResult()
        {
            IsSuccess = true;
        }
    }
}
